package com.ruoyi.business.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 天气对象 bus_device_weather
 *
 * @author ruoyi
 * @date 2023-07-27
 */
public class BusDeviceWeather extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 温度 */
    @Excel(name = "温度")
    private BigDecimal temperature;

    /** 湿度 */
    @Excel(name = "湿度")
    private BigDecimal humidity;

    /** 土地PH值 */
    @Excel(name = "土地PH值")
    private BigDecimal landPh;

    /** 土壤商请 */
    @Excel(name = "土壤商请")
    private BigDecimal landShang;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setTemperature(BigDecimal temperature)
    {
        this.temperature = temperature;
    }

    public BigDecimal getTemperature()
    {
        return temperature;
    }
    public void setHumidity(BigDecimal humidity)
    {
        this.humidity = humidity;
    }

    public BigDecimal getHumidity()
    {
        return humidity;
    }
    public void setLandPh(BigDecimal landPh)
    {
        this.landPh = landPh;
    }

    public BigDecimal getLandPh()
    {
        return landPh;
    }
    public void setLandShang(BigDecimal landShang)
    {
        this.landShang = landShang;
    }

    public BigDecimal getLandShang()
    {
        return landShang;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("temperature", getTemperature())
                .append("humidity", getHumidity())
                .append("landPh", getLandPh())
                .append("landShang", getLandShang())
                .toString();
    }
}
